package com.ruoyi.project.system.att.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 系统附件对象 sys_up_att
 * 
 * @author yueqiangu
 * @date 2021-02-27
 */
public class SysUpAtt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 上传ID */
    private String attId;

    /** 存储名 */
    @Excel(name = "存储名")
    private String attName;

    /** 存储路径 */
    private String storagePath;

    /** 文件大小 */
    private String attSize;

    /** 原文件名 */
    @Excel(name = "原文件名")
    private String attOgfName;

    /** 文件后缀 */
    private String attSuffix;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setAttId(String attId)
    {
        this.attId = attId;
    }

    public String getAttId()
    {
        return attId;
    }
    public void setAttName(String attName)
    {
        this.attName = attName;
    }

    public String getAttName()
    {
        return attName;
    }
    public void setStoragePath(String storagePath)
    {
        this.storagePath = storagePath;
    }

    public String getStoragePath()
    {
        return storagePath;
    }
    public void setAttSize(String attSize)
    {
        this.attSize = attSize;
    }

    public String getAttSize()
    {
        return attSize;
    }
    public void setAttOgfName(String attOgfName)
    {
        this.attOgfName = attOgfName;
    }

    public String getAttOgfName()
    {
        return attOgfName;
    }
    public void setAttSuffix(String attSuffix)
    {
        this.attSuffix = attSuffix;
    }

    public String getAttSuffix()
    {
        return attSuffix;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("attId", getAttId())
            .append("attName", getAttName())
            .append("storagePath", getStoragePath())
            .append("attSize", getAttSize())
            .append("attOgfName", getAttOgfName())
            .append("attSuffix", getAttSuffix())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
